package cn.shujuhai.common.service;


import cn.shujuhai.common.domain.SysMenu;
import cn.shujuhai.common.pluging.data.ResultVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author NiuYahu
 * @description 针对表【sys_menu(菜单表)】的数据库操作Service
 * @createDate 2024-11-04 09:39:48
 */
public interface SysMenuService extends IService<SysMenu> {

    ResultVo<List<SysMenu>> getMenuList();

    ResultVo<SysMenu> enable(Long menuId);

    ResultVo<SysMenu> removeMenuById(Long menuId);

    ResultVo<?> addMenu(SysMenu sysMenu);

    ResultVo<?> getMenuByMenuId(Long menuId);

    ResultVo<?> updateMenu(SysMenu sysMenu);

    List<SysMenu> getList(List<Long> menuIds);

    List<Long> getPermissionIdsByMenuId(Long menuId);
}
